package com.king.pages.novel.entity;

import java.time.LocalDateTime;
import java.util.List;

import com.king.db.annotation.Column;
import com.king.db.annotation.NColumn;
import com.king.db.annotation.Table;
import com.king.util.page.PageCore;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 书-实体
 * 
 * @author king
 * @date 2025年6月25日-15:08:06
 */
@Getter
@Setter
@Table("novel")
@ToString
public class Novel extends PageCore {

	private String id;
	private String name;
	private String writer;
	private Integer status;
	@Column("create_date")
	private LocalDateTime createDate;
	private String description;
	@Column("create_user_id")
	private String createUserId;

	@NColumn
	private List<NovelVolume> volume;

}
